package com.herui.iot.ui.report;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.herui.sdyu_lib.base.FragmentDirectionAnim;
import com.herui.sport_care.R;
import com.herui.sport_care.ui.BaseSportActivity;

public class ReportActivity extends BaseSportActivity {


    @Override
    public int getLayout() {
        return R.layout.activity_report;
    }

    @Override
    public void initParam() {
        int type = getIntent().getIntExtra("type", -1);
        add(ReportListFragment.newInstance(type), new FragmentDirectionAnim());
    }

    @Override
    public int getContent() {
        return R.id.content;
    }
}